package com.my.kq.dao;

import com.my.kq.entity.Overtime;
import com.my.kq.uitl.BaseDAO;

import java.util.List;

public class overtimeDao extends BaseDAO {

    public List<Overtime> overList() throws Exception {
        String sql="select * from overtime";
        List<Overtime> list = getList(sql, new Overtime(), new Object[0]);
        return list;
    }
}
